package removeifelse;

/**
 * TODO:类描述
 *
 * @className: Test1
 * @packageName: removeifelse
 * @author: Zhuhj
 * @version: V1.0
 * @date: 2021/5/4 21:23
 */
public class Test1 {
    @Deprecated
    private void a(int input) {
        if (input > 5) {
            //do something
        } else {
            //do something else
        }
    }

    private void b(int input) {
        if (input > 5) {
            //do something
            return;
        }
        //do something else
    }

    public static void main(String[] args) {

    }
}
